Write-Host "正在启动医疗管理系统..." -ForegroundColor Green
Write-Host ""

# 检查Docker是否安装
try {
    docker --version | Out-Null
    Write-Host "Docker已安装" -ForegroundColor Green
} catch {
    Write-Host "错误: 未找到Docker，请先安装Docker Desktop" -ForegroundColor Red
    Write-Host "下载地址: https://www.docker.com/products/docker-desktop" -ForegroundColor Yellow
    Read-Host "按任意键退出"
    exit 1
}

Write-Host "使用Docker Compose启动应用..." -ForegroundColor Yellow
Write-Host "这将启动MySQL数据库和Spring Boot应用" -ForegroundColor Yellow
Write-Host ""

# 启动服务
docker-compose up --build




